package com.feijin.testwisdomzonedemo.net;


import com.lgc.garylianglib.model.BaseDto;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * @autor feijin_lgc
 * <p>
 * create at 2017/9/9 12:18
 */
public interface ApiService {


    /**
     * 上传头像
     *
     * @return
     */
    @Headers("Content-Type: application/json")
    @POST(value = URLManager.URL_UPLOAD)
    Call<BaseDto> uploadAvatar(@Body Map<Object, Object> body);

}
